package com.itheima.service.system;

import com.github.pagehelper.PageInfo;
import com.itheima.domain.system.Role;

import java.util.List;

public interface RoleService {
    public void save(Role role);
    public void update(Role role);
    public void delete(String id);
    public Role findById(String id);
    public List<Role> findAll(String companyId);
    public PageInfo<Role> findAll(String companyId, int page, int size);

    void updateRoleModule(String roleid, String moduleIds);

    List<Role> findRoleByUserId(String id);
}
